from signal import *
from config import make_logging

LOG = make_logging("signal")

def signal_interrupt(SIGINT, frame):
    LOG.debug("Signal Interrupt, I got you [Ctrl+C]")
    exit(1)

def mainwin_signal():
    signal(SIGINT, signal_interrupt)